home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 17
/
CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso
/
CUCD
/
Programming
/
DiceSource
/
test
/
lib
/
print.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-11-23
|
356b
|
17 lines
#include <stdio.h>
main()
{
char buf[128];
printf("%c\n", 'a');
printf("hi mom 43 == %d, + 1 == %ld!\n", 43, 44);
sprintf(buf, "hi mom 43 == %3ld, + 1 == %3ld!\n", 43, 44);
puts(buf);
puts("test");
printf("Foo %s on you %s\n", "abc", "def");
printf("%%04d (26): %04d\n", 26);
printf("left just '%-15s'\n", "Fooo");
}